package com.example.smartoven;

import com.example.smartoven.utils.CommonUtils;
import com.example.smartoven.utils.RecipeInfo;
import ohos.aafwk.content.Intent;
import ohos.aafwk.content.IntentParams;
import ohos.ace.ability.AceAbility;
import ohos.utils.zson.ZSONObject;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;

public class CookAbility extends AceAbility {

    @Override
    public void onStart(Intent intent) {

        IntentParams params = new IntentParams();
        int[] array = new int[]{100,0,20};
        params.setParam("status","蒸");
        params.setParam("arr",array);
        params.setParam("rname","葱香清蒸排骨");




//params:{status:this.recipeData[this.chooseId].pattern,arr:this.recipeData[this.chooseId].valueArr,rname:this.recipeData[this.chooseId].name},
        String url = "pages/status/status";
        setPageParams(url,params);
        super.onStart(intent);
    }

    @Override
    public void onStop() {
        super.onStop();
    }
}
